package com.chushouya.order.dto.api.clerk.action;

import com.chushouya.order.constants.ClerkOrderActionEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("业务员接单")
@Data
public class ClerkAcceptAction extends ClerkBaseAction {

    public ClerkAcceptAction() {
        super.setOrderAction(ClerkOrderActionEnum.ACCEPT);
    }

    @ApiModelProperty("订单ID")
    @NotNull(message = "订单ID不能为空")
    private Long orderId;


}
